//
//  HYHomeTableViewController.swift
//  WeiBo
//
//  Created by crazyfish on 16/3/10.
//  Copyright © 2016年 crazyfish. All rights reserved.
//

import UIKit

class HYHomeTableViewController: HYVisitorViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

    if userLogon == false{
            
            let v = HYVisitorView()
        
            v.setpageInfo(nil, message: nil)
            return
            
     }
        setupUI()
        

        
    }

    func setupUI(){
        
        navigationItem.leftBarButtonItem = UIBarButtonItem.init(imageNamed: "navigationbar_friendsearch", target: self, action: nil)
        navigationItem.rightBarButtonItem = UIBarButtonItem.init(imageNamed: "navigationbar_pop", target: self, action: "push")
        
    }
    
    func push(){
        
        let vc = HYTemp()
        navigationController?.pushViewController(vc, animated: true)

        
    }
    
}
